package com.ssyt.ec.assit.entity;

public class MenuSearchEntity {
 private int id;
 private String name;
 private int state;
 
 //目前只需要两个实体 需要再扩展
 
public int getId() {
	return id;
}
public void setId(int id) {
	this.id = id;
}
public String getName() {
	return name;
}
public void setName(String name) {
	this.name = name;
}
public String getState() {
	if (state == 1) {
		return "生效";
	} else if (state == 2) {
		return "待生效";
	} else {
		return "已删除";
	}
}

public void setState(int state) {
	this.state = state;
}
}
